<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class ThirdpartyDevice extends Model {

	//
	protected $table = 'thirdparty_device';
	protected $fillable = ['name', 'num', 'functions', 'minimize', 'maximize', 'creator', 'product_time', "industry_id"];

	public function industry()
	{
		return $this->hasOne("App\Models\ThirdpartyIndustry", "id", "industry_id");
	}

}
